/**
 *
 */
package com.zhuoyue.elmt.dao;

import com.eit.eitsite.common.persistence.CrudDao;
import com.eit.eitsite.common.persistence.annotation.MyBatisDao;
import com.zhuoyue.elmt.entity.FailureReport;

import java.util.HashMap;

/**
 * 电梯故障报告DAO接口
 * @author chenhao
 * @version 2016-09-07
 */
@MyBatisDao
public interface FailureReportDao extends CrudDao<FailureReport> {
    public FailureReport getFailureReportByDeviceCode(HashMap params) ;
    public void deleteFailureReplacementPartByReportId(String reportId);
    public void deleteFailureSurveyContentByReportId(String reportId);
    public FailureReport getByFailureNo(FailureReport failureReport);
}